﻿@{
    ViewData["Title"] = "学生信息管理系统1.0";
}

<!doctype html>
<html>

<head>
    <meta charset="UTF-8">
    <title>@ViewData["Title"]</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="hg-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="~/css/font-awesome.min.css">
    <link rel="stylesheet" href="~/lib/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="~/lib/admin/admin.css" media="all">
    <link rel="stylesheet" href="~/lib/Scrollbar/jquery.scrollbar.css">
    <link rel='stylesheet' href='~/lib/nprogress/nprogress.css' />
    <script type="text/javascript" src="~/lib/layui/layui.js"></script>
    <script type="text/javascript" src="~/lib/admin/admin.js"></script>

    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body class="layui-layout-body" style="display: none;">
    <div class="layui-layout layui-layout-admin">

        <!-- 顶部 -->
        <div class="layui-header">
            <div class="logo">
                <a href="javascript:;" onclick="$('.layui-tab-title .home').eq(0).click();">
                    <img src="~/images/logo.png" class="layui-nav-img">
                    <span class="layui-hide-xs">@ViewData["Title"]</span>
                </a>
            </div>
            <ul class="layui-nav left layui-hide-xs" lay-filter="nav-top">
                <li meun_id="0" class="layui-nav-item layui-this"><a href="javascript:;">基础服务</a></li>
                <li meun_id="1" class="layui-nav-item"><a href="javascript:;">业务服务</a></li>
            </ul>
            <ul class="layui-nav left layui-hide-sm layui-hide-md layui-hide-lg" lay-filter="nav-top">
                <li class="layui-nav-item">
                    <a href="javascript:;">菜单</a>
                    <dl class="layui-nav-child">
                        <dd meun_id="0" lay-unselect><a onclick=""><i class="fa fa-pencil-square fa-fw"></i>基础服务</a></dd>
                        <dd meun_id="1" lay-unselect><a onclick=""><i class="fa fa-sign-out fa-fw"></i>业务服务</a></dd>
                    </dl>
                </li>
            </ul>
            <ul class="layui-nav right">
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" hg-event="fullscreen" title="全屏">
                        <i class="fa fa-arrows-alt fa-lg"></i>
                    </a>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" onclick="cleancache()" hg-event="delSkinConfig" title="清除缓存">
                        <i class="fa fa-trash-o fa-lg"></i>
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;"><img src="~/images/touxiang.jpg" class="layui-nav-img"><span> @ViewData["Name"] </span></a>
                    <dl class="layui-nav-child">
                        <dd lay-unselect>
                            <a onclick="hg.add_tab('修改密码','page/changePwd.html')">
                                <i class="fa fa-pencil-square fa-fw"></i>修改密码
                            </a>
                        </dd>
                        <dd lay-unselect><a href="/Login/LoginOut"><i class="fa fa-sign-out fa-fw"></i>退出</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item layui-hide-xs" lay-unselect>
                    <a href="javascript:;" hg-event="skinConfig">
                        <i class="fa fa-ellipsis-v fa-lg"></i>
                    </a>
                </li>
            </ul>
        </div>

        <!-- 左侧菜单 -->
        <div class="layui-left-nav scrollBox">
            <div id="side-nav">
                <!-- meun_id=0；UI组件 -->
                <ul id="nav" class="layui-tab-item layui-show">
                    <li class="open">
                        <a class="border active">
                            <i class="fa fa-cog fa-fw"></i><cite>基础信息管理</cite><i class="fa fa-angle-up fa-fw nav_right"></i>
                        </a>
                        <ul class="sub-menu" style="display: block;">
                            <li class="sub-tab" hg-title="系统设置" hg-nav="/Config/Index">
                                <a><i class="fa fa-wrench fa-fw"></i><cite>系统参数</cite></a>
                            </li>
                            <li class="sub-tab" hg-title="操作员管理" hg-nav="/Account/Index">
                                <a><i class="fa fa-user fa-fw"></i><cite>操作员列表</cite></a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a>
                            <i class="fa fa-address-book fa-fw"></i><cite>学生信息管理</cite><i class="fa fa-angle-down fa-fw nav_right"></i>
                        </a>
                        <ul class="sub-menu">
                            <li class="sub-tab" hg-title="部门管理" hg-nav="/Depart/Index">
                                <a><i class="fa fa-sitemap fa-fw"></i><cite>部门列表</cite></a>
                            </li>
                            <li class="sub-tab" hg-title="学生信息管理" hg-nav="/StudentInfo/Index">
                                <a><i class="fa fa-id-card-o fa-fw"></i><cite>学生信息列表</cite></a>
                            </li>
                        </ul>
                    </li>
                </ul>
                <!-- meun_id=1；Demo -->
                <ul id="nav" class="layui-tab-item">
                    <li class="open">
                        <a class="border active">
                            <i class="fa fa-database fa-fw"></i><cite>学生信息查询</cite><i class="fa fa-angle-up fa-fw nav_right"></i>
                        </a>
                        <ul class="sub-menu" style="display: block;">
                            <li class="sub-tab" hg-title="学生成绩查询" hg-nav="DataGrid.html">
                                <a><i class="fa fa-file-text fa-fw"></i><cite>学生成绩查询</cite></a>
                            </li>
                            <li class="sub-tab" hg-title="学生课表查询" hg-nav="DataGrid2.html">
                                <a><i class="fa fa-file-text fa-fw"></i><cite>学生课表查询</cite></a>
                            </li>
                            <li class="sub-tab" hg-title="学生问卷调查" hg-nav="DataGrid1.html">
                                <a><i class="fa fa-file-text fa-fw"></i><cite>学生问卷调查</cite></a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>

        <!-- 内容 -->
        <div class="layui-page-content">
            <div class="layui-tab tab" lay-unauto lay-allowClose="true" lay-filter="xbs_tab">
                <span class="indent-tab left" title="侧边伸缩"><i class="fa fa-dedent fa-lg"></i></span>
                <div class="indent-tab left fa fa-step-backward fa-fw"></div>
                <ul class="layui-nav">
                    <li class="layui-nav-item">
                        <a href="javascript:;"><i class="fa fa-dot-circle-o fa-fw"></i> 页面操作</a>
                        <dl class="layui-nav-child">
                            <dd lay-unselect data-page-close="this">
                                <a href="javascript:;"><i class="fa fa-refresh fa-fw"></i> 刷新当前</a>
                            </dd>
                            <dd lay-unselect data-page-close="other">
                                <a href="javascript:;"><i class="fa fa-ban fa-fw"></i> 关闭其他</a>
                            </dd>
                            <dd lay-unselect data-page-close="all">
                                <a href="javascript:;"><i class="fa fa-power-off fa-fw"></i> 关闭全部</a>
                            </dd>
                        </dl>
                    </li>
                </ul>
                <div class="indent-tab right fa fa-step-forward fa-fw"></div>
                <ul class="layui-tab-title">
                    <li class="home layui-this"><i class="fa fa-home fa-fw"></i></li>
                </ul>

                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <iframe src='/Home/Index' frameborder="0" scrolling="yes" class="hg-iframe"></iframe>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <div class="hg-config" style="display: none;">
        <div class="layui-fluid">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <fieldset class="layui-elem-field layui-field-title"><legend>主题</legend></fieldset>
                    <div class="layui-col-md12">
                        <ul class="skin">
                        </ul>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <fieldset class="layui-elem-field layui-field-title"><legend>字号</legend></fieldset>
                    <div class="layui-col-md12">
                        <form class="layui-form layui-form-pane" action="">
                            <div class="layui-form-item" pane="">
                                <div class="layui-input-line">
                                    <input type="radio" name="fontsize" value="lg" title="大号">
                                    <input type="radio" name="fontsize" value="md" title="默认">
                                    <input type="radio" name="fontsize" value="sm" title="小号">
                                    <input type="radio" name="fontsize" value="xs" title="超小">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="~/lib/layui/lay/modules/form.js"></script>
    </div>


    <script>
        //注意：element未作封装处理，使用layui.use引用
        layui.use(['element'], function () {
            var element = layui.element;
            console.log('触发了layui.element');

        });
        function cleancache() {
            var a = hg.load(function () {
                var that = this;
                setTimeout(function () {
                    //that.close(); //关闭加载层
                    a.close();
                    hg.msghide('清除服务器缓存成功.');
                }, 2000);
            })
        }
    </script>
    <script type="text/javascript" src="~/lib/admin/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="~/lib/Scrollbar/jquery.scrollBar.js"></script>
    <!-- 请求进度条插件 -->
    <script src='~/lib/nprogress/nprogress.js'></script>
</body>

</html>
